#ifndef GAME_ENGINE_H
#define GAME_ENGINE_H

/*
  Returns -1 if boarn isn't char [3][3]
  otherwise returns 1 if one of the players has won
  0 ther wise.
 */
int won (unsigned char ** board, unsigned char c);

void paint (unsigned char ** board);

int perform_step (unsigned char ** board, unsigned char * step);
    
#endif // GAME_ENGINE_H
